<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("company","header"); ?>
<!-- 内容begin-->
<div class="content">
    <?php include template("company","left"); ?>
    <div class="r">
      
	  <div class="r02_c">
        <div class="r02_titlel"><a href="#">装饰杂谈</a></div>
        <div class="r02_title"><span><a href="#">首页</a>><a href="#">装饰杂谈</a></span></div>
        <div class="r02_titler"></div>
        <div class="r02_contant">
          <div class="r02_ctitlel"></div>
          <div class="r02_ctitle"></div>
          <div class="r02_ctitler"></div>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7e231e596075284671bb1e0359696aa0&action=lists&username=%24username&catid=14&num=10&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 10;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('username'=>$username,'catid'=>'14','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, '');$data = $content_tag->lists(array('username'=>$username,'catid'=>'14','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
          <div class="r02_content01"> 

		<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
		  	<dl>
				<dt><a href="index.php?m=content&c=company&a=zatan_detail&userid=<?php echo $_GET['userid'];?>&id=<?php echo $r['id'];?>"><?php echo $r['title'];?></a><tt><?php echo date('Y-m-d',$r[inputtime]);?> </tt></dt>
				<dd><?php echo str_cut($r[content],250,'');?>
				</dd>
			</dl>
			<?php $n++;}unset($n); ?>
			<div class="bottom">
				<div class="sabrosus"><?php echo $pages;?></div>
				</div>
		  </div>
		  <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
          <div class="r02_cbottoml"></div>
          <div class="r02_cbottom"></div>
          <div class="r02_cbottomr"></div>
        </div>
      </div>
    </div>
  </div>
  <!-- 内容end-->
<?php include template("company","footer"); ?>